package com.jirefox.loner.daemon.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.jirefox.loner.daemon.service.AppService;

@RestController
public class AppController {

	@Autowired
	AppService appService;

	@RequestMapping("/app/start")
	public String start(String appName) {
		return "startApp";
	}

	@RequestMapping("/app/restart")
	public String restart(String appName) {
		return "restartApp";
	}

}
